package com.online.music.entity.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;
import java.time.LocalDateTime;

import io.swagger.v3.oas.annotations.media.Schema;

import lombok.Data;

/**
 * @Author: Leno
 * @Date: 2025-01-31
 * @Description:
 */
@Data
@Schema(name = "Song对象", description = "")
public class Song implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "歌曲id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "专辑id")
    private Long albumId;

    @Schema(description = "歌曲类型id")
    private Long typeId;

    @Schema(description = "歌曲名称")
    private String name;

    @Schema(description = "艺术家（歌手）名称")
    private String artist;

    @Schema(description = "歌曲封面")
    private String img;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "修改时间")
    private LocalDateTime updateTime;

    @Schema(description = "歌曲状态 0-待审核 1-发布 2-驳回")
    private Integer status;

    @Schema(description = "用户id")
    private Long userId;

    @Schema(description = "歌曲文件地址")
    private String songFileUrl;

    @Schema(description = "驳回原因")
    private String backReason;

}

